package com.isdepci.project.result.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.math.BigDecimal;

/**
 * 范围2分类(按照活动类型划分）对象 tpf_two_activity
 *
 * @author isdepci
 * @date 2023-09-05
 */
public class TwoActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 活动(1-电力/2-热力/3-蒸汽/4-冷力) */
    @Excel(name = "活动(1-电力/2-热力/3-蒸汽/4-冷力)")
    private Integer activity;

    /** 吨CO2e */
    @Excel(name = "吨CO2e")
    private BigDecimal metricTonnesCo2e;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setActivity(Integer activity)
    {
        this.activity = activity;
    }

    public Integer getActivity()
    {
        return activity;
    }
    public void setMetricTonnesCo2e(BigDecimal metricTonnesCo2e)
    {
        this.metricTonnesCo2e = metricTonnesCo2e;
    }

    public BigDecimal getMetricTonnesCo2e()
    {
        return metricTonnesCo2e;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activity", getActivity())
            .append("metricTonnesCo2e", getMetricTonnesCo2e())
            .toString();
    }
}
